package com.jblog;

public abstract class ErrorCode {

    public interface Common {
        String DB_ERROR               = "DB_001";
        String EMAIL_ERROR            = "CO_001";
        String URL_ERROR              = "CO_002";
        String CAPTCHA_ERROR          = "CO_003";
        String E403                   = "E_403";
    }
    
    public interface Account {
        String ACCOUNT_INCORRECT          = "AC_001";
        String NICK_NAME_ERROR            = "AC_002";
        String AC_NAME_ERROR              = "AC_003";
        String AC_NAME_EXIST              = "AC_004";
        String PASSWORD_ERROR             = "AC_005";
        String PHOTO_ERROR                = "AC_006";
        String EMAIL_EXIST                = "AC_007";
        String ACCOUNT_INVALID            = "AC_008";
        String EMAIL_NOT_EXIST            = "AC_009";
        String AC_NAME_NOT_EXIST          = "AC_010";
        String ACCOUNT_ACTIVATED_AREADY   = "AC_011";
        String ACCOUNT_OR_EMAIL_ERROR     = "AC_012";
        String ACTIVATE_CODE_INVALID      = "AC_013";
        String ACTIVATE_LOCKED            = "AC_014";
        String OLD_PASSWORD_ERROR         = "AC_015";
        String OLD_PASSWORD_INCORRECT     = "AC_016";
        String NEW_PASSWORD_ERROR         = "AC_017";
        String OLD_NEW_PASSWORD_ERROR     = "AC_018";
    }
    
    public interface Blog {
        public interface Comment {
            String NAME_ERROR         = "BL_CO_001";
            String COMMENT_ERROR      = "BL_CO_002";
        }
    }
    
}
